/*
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 2 of the License, or
 *      (at your option) any later version.
 *      
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *      
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */
#ifndef MAIN_H_
#define MAIN_H_

#include <string>
#include <math.h>
#if !(defined(__APPLE__))
#include <gst/gst.h>
#endif
#include "Input.hpp"
#include "Music.hpp"
#include "Drawing.hpp"
#include "Menu.hpp"
#include "Misc.hpp"

class cSave
{
	private:
		int map, x, y;
		char *Name;
		int PlayTime;
		// Add additional variables here //
	public:
		cSave()
		{
			Name = NULL;
			map = x = y = PlayTime = 0;
		} // No need for constructor yet
		~cSave(){} // Nor a Destructor
		void LoadSave(int file)
		{
			if(file == 0)
				;//TODO: Set to Default values
			else
				;//TODO: Load from a save file
		} // Don't Do anything yet //
}; // Class since we may do some fancy stuff later//
extern cSave GlobalSave;
extern bool Running;
void ShutDownProgram(); // Shutsdown everything, You are responsible for race conditions
int FPS_Counter(); // Returns current FPS
#endif
